package com.scorpio.order.mapper;

import com.scorpio.common.dao.BaseDao;
import com.scorpio.order.domain.OrderEntity;
import com.scorpio.order.domain.OrderSnsEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface OrderSnsMapper extends BaseDao<OrderSnsEntity> {

    OrderSnsEntity selectByOrderSn(@Param("orderSn") String orderSn);

    int saveMoney(@Param("orderSn") String orderSn,@Param("money") Float money);

}
